package com.mall.service.impl.sys;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mall.entity.sys.RoleEO;
import com.mall.mapper.sys.RoleMapper;
import com.mall.service.sys.IRoleService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Dczzs
 * @since 2020-06-24
 */
@Service
public class RoleServiceImpl extends ServiceImpl<RoleMapper,RoleEO> implements IRoleService {

	@Override
	public List<RoleEO> getRolesByUserId(Integer user_id) {
		return getBaseMapper().getRolesByUserId(user_id);
	}


}
